package values.events
{
import flash.events.Event;

import values.level.AvatarLevelValue;
import values.level.DynamicLevelValue;

/**
 * LevelEvent
 * @author jliang
 * 
 */
public class LevelEvent extends Event
{
	public static const READY_TO_LEVEL_UP:String = "readyToLevelUp";
	
	public static const LEVEL_CHANGED:String = "levelChanged";
	
	public function LevelEvent(type:String, vo:DynamicLevelValue)
	{
		super(type, false, false);
		_level = vo;
	}
	
	private var _level:DynamicLevelValue;

	public function get level():DynamicLevelValue
	{
		return _level;
	}

}
}